@media print {

    /* 重置页面边距 */
    @page {
        size: A4;
        margin: 0;
    }

    /* 隐藏所有元素 */
    body,
    body * {
        visibility: hidden;
        background: white !important;
    }

    /* 打印图片自动设置为白底处理  */
    img {
        /* 强制浏览器保留元素的原始颜色和背景 */
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        /* 明确将元素的背景色设置为透明 */
        background-color: transparent !important;
    }

    /* 公章打印时显示 */
    .official-seal {
        display: block !important;
    }


    /* 仅显示打印区域 */
    #pdfDom,
    #pdfDom * {
        visibility: visible;
    }

    #pdfDom {
        width: 210mm !important;
        height: 297mm !important;
    }

    /* 修复表格上边距问题 */
    .tableStyle {
        margin-top: 5mm !important;
    }

    /* 隐藏非打印元素 */
    .no-print {
        display: none !important;
    }

    .page-break {
        page-break-before: always;
        padding-top: 23mm !important;
        margin-top: 0 !important;
        border-top: none !important;
    }

    .biaotididian {
        font-size: 7mm;
        font-family: "宋体", serif;
        font-weight: 900;
    }

    .biaoti {
        margin-top: 3mm;
        font-size: 7mm;
        font-family: "宋体", serif;
        font-weight: 900;
    }


    /* 隐藏对话框 */
    .el-dialog {
        display: none !important;
    }


}

.pdf-export .page-break {
    page-break-before: always;
    padding-top: 23mm !important;
    margin-top: 0 !important;
    border-top: none !important;
}

.pdf-export img {
    /* 强制浏览器保留元素的原始颜色和背景 */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    /* 明确将元素的背景色设置为透明 */
    background-color: transparent !important;
}

/* 公章打印时显示 */
/* .pdf-export .official-seal-display .official-seal {
    display: block !important;
} */

.pdf-export .biaotididian {
    font-size: 7mm;
    font-family: "宋体", serif;
    font-weight: 900;
}

.pdf-export .biaoti {
    margin-top: 3mm;
    font-size: 7mm;
    font-family: "宋体", serif;
    font-weight: 900;
}